<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
表单里面action是写 数据要提交的路径
<form action="addTeacher">

    <div>
        username: <input name="username" type="text">
    </div>

    <div>
        password : <input name="password" type="text">
    </div>
    <input type="submit" value="提交按钮">
</form>
</body>
</html>